package com.sunflower.servlet;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import com.sunflower.bath.MainJobExecute;

/**
 * Application Lifecycle Listener implementation class JobStartThread
 *
 */
public class JobStartThread implements ServletContextListener {

    public JobStartThread() {
    	System.out.println("JobStartThread.......................");
    }

    public void contextInitialized(ServletContextEvent sce)  { 
    	//MainJobExecute.mainJobStart();
    }

    public void contextDestroyed(ServletContextEvent sce)  { 
    	System.out.println("end.......................");
    }
	
}
